package tarena.action;

import java.util.ArrayList;
import java.util.List;

public class Node {
	private String id;
	private String title;
	private List<Node> childs = new ArrayList<Node>();
	public Node(){
		
	}
	public Node(String id,String title){
		this.id = id;
		this.title = title;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public List<Node> getChilds() {
		return childs;
	}
	public void setChilds(List<Node> childs) {
		this.childs = childs;
	}
}
